package com.pingan.internal.point.shopping.controller;
import com.pingan.internal.point.shopping.service.GoodsService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.annotation.Resource;

@Controller
public class PageController {
    private static final Logger LOGGER = LoggerFactory.getLogger(PageController.class);

    @Resource
    private GoodsService goodsService;


    @Value("${point.goods.upload.path}")
    private String path;

    @GetMapping({"/admin","/admin/login","/User","/Order","GiftDetail"})
    public String page(){
        return "/index.html";
    }

}
